//
//  WaterfallImageViewCell.m
//  Waterfall Flow
//
//  Created by apple on 15/11/2.
//  Copyright © 2015年 renwei. All rights reserved.
//

#import "WaterfallImageViewCell.h"
#import "UIImageView+WebCache.h"
#import "Shop.h"
@interface WaterfallImageViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;


@end

@implementation WaterfallImageViewCell

- (void)setShop:(Shop *)shop {
    _shop = shop;
   
    NSString *str = shop.img;
    NSURL *url = [NSURL URLWithString:str];
    [self.iconView sd_setImageWithURL:url];

    self.priceLabel.text = shop.price;
}

@end
